<template>
  <div>
    <device-view-tab
      :deviceId="deviceId"
      :grey="true"
      :cfg="cfg"
      :no-padding="true"
    >
      <template #p1="{device}">
          <camera :device="device" ></camera>
      </template>
      <template #p6="{device}">
          <channel :device="device"></channel>
      </template>
    </device-view-tab>
  </div>
</template>

<script>
import DeviceViewTab from '@/views/iot/device/components/DeviceViewTab';
import camera from './Camera.vue'
import channel from './Channel.vue'
export default {
  name: 'VenturiWm',
  mixins: [],
  components: { DeviceViewTab,camera ,channel},
  props: {
    deviceId: [Number, String],
  },
  data() {
    return {
      cfg: [
        { show: true, name: '监控直播' },
        { show: false, name: '定时任务' },
        { show: true, name: '设备用户' },
        { show: true, name: '设备日志' },
        { show: false, name: '数据分析' },
        { show: true, name: '设备通道' },
      ],
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  destroyed() {},
  methods: {},
};
</script>
<style lang="scss" scoped>
</style>
